package xiaoming;

public class march_30_1 {

	public static void main(String[] args) {
		/*
		 * int i = 1; 
		 * while (i <= 10000) { 
		 * if (i % 5 == 0) {
		 *  System.out.print(i + "\t");
		 * } 
		 * if (i % 100 == 0) { 
		 * System.out.println(); 
		 * } 
		 * i++;
		 * 
		 * }
		 */
		int i = 1;
		int count = 0;
		while (i <= 10000) {
			if (i % 5 == 0) {
				System.out.print(i + "\t");
				count++;
				if (count % 20 == 0) {
					System.out.println();
				}
			}
			i++;
			
		}

	}

}
